<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/meeting.css" />

<!--<link rel='stylesheet' type='text/css' href="<?php echo Yii::app()->theme->baseUrl; ?>/css/jquery-ui-1.8.14.custom.css" />
<link rel='stylesheet' type='text/css' href="<?php echo Yii::app()->theme->baseUrl; ?>/css/jquery.ui.datetimepicker.css" />
<script type='text/javascript' src="<?php echo Yii::app()->theme->baseUrl; ?>/fullCalendar/jquery/jquery-ui-1.8.11.custom.min.js"></script>
<script type='text/javascript' src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-1.3.2.min.js"></script>
<script type='text/javascript' src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-ui-timepicker-addon.js"></script>
-->

<link type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/jquery.ui.datetimepicker.css" rel="Stylesheet" />	
<link type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/jquery-ui-1.7.3.custom.css" rel="Stylesheet" />	
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-ui-1.7.3.custom.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-ui-timepicker-addon.js"></script>

<script type="text/javascript">
$(document).ready(function() {
	$(".selectAll").change(function(){
		if($(this).attr("checked"))
			$(".mtUser").attr("checked", "checked");
		else
			$(".mtUser").removeAttr("checked");
	});
});


jQuery(function() {
		var dates = jQuery( "#from, #to" ).datetimepicker({
			
			defaultDate: "+1w",
			dateFormat: 'yy-mm-dd',
			timeFormat: 'hh:mm:ss',
			stepHour: 1,
			stepMinute: 15,
			stepSecond: 10,
			changeMonth: true,
			numberOfMonths: 1,
			showOn: 'both',
			buttonImageOnly: true,
			buttonText:'Select date',
			buttonImage: "<?php echo Html::imageUrl("icon_calendar.gif");?>"					

		});
	});

</script>
<div class="clear"></div>

<div id="than">	
    <img src="<?php echo Html::imageUrl("muiten.png")?>" width="27" height="26"; style="float:left">
            	<div id="textxanhdam">Meetings </div>
 </div>
             	<div class="padding15"></div>                    	
            	<!-- Begin leftsidebar -->                  
              	<div id="leftSidebar">
              		<div id="leftWrapper">
              			<div class="padding20"></div>
              			<button type="button" class="scheduleMeeting">Update Meeting</button>
              			<div class="padding20"></div>
              			<a href="#" id="upcomingLink">Upcoming Meetings</a>
              			<div class="padding10"></div>
              			<a href="#" id="elapsedLink">Elapsed Meetings</a>
              		</div>
              	</div>
              	<!-- End left sidebar -->
              	
              	<!-- Begin rightSidebar -->
              	<div id="rightSidebar">
              		<div id="rightHeader">
              			<h2>Update Meeting</h2>
              		</div>
              		
              		
              		<!-- Begin rightWrapper -->
              		<div id="rightWrapper">
              			<h4>Meeting Information</h4>
              			<table class="mt">
              				<?php 
              					$pid = Yii::app()->request->getParam('pid');
              					$form = $this->beginWidget('CActiveForm');
              				?>
              				<tr>
              					<td class="mtLeft red">Meeting Title</td>
              					<td class="mtRight">
              						<?php 
              							echo $form->textField($schedule, 'schedule_subject',array('class' => 'mtTitle'));
              							echo $form->error($schedule, 'schedule_subject',array(
              								'class' => 'formError'
              							));
              						?>
              					</td>
              				</tr>
              				<tr>
              					<td class="mtLeft red">Scheduled On:</td>
              					<td class="mtRight"><!--<input type="text" class="startDate"></input></td>-->
									<?php echo $form->textField($meeting, 'meeting_start_date',array('id' => 'from'));?>
								</td>
              				</tr>
              				<tr>
              					<td class="mtLeft">Finish time</td>
              					<td class="mtRight"><!--<input type="text" class="finishDate"></input>-->
									<?php echo $form->textField($meeting, 'meeting_end_date',array('id' => 'to'));?>
								</td>
              				</tr>              	
              				<tr>
              					<td class="mtLeft">Meeting Location</td>
              					<td class="mtRight">
              						<?php echo $form->textField($meeting, 'meeting_location',array('class' => 'mtLocation'));?>
              					</td>
              				</tr>
              				<tr>
              					<td class="mtLeft">Description</td>
              					<td class="mtRight">
              						<?php echo $form->textArea($schedule, 'schedule_description',array('class' => 'mtDescription', 'cols' => '70', 'rows' => '4'));?>
              					</td>
              				</tr>
              			</table>
              			
              			
              			<input type="submit" value="Update Meeting" class="btn"></input> or
									<a href="<?php echo Yii::app()->controller->createUrl("/meeting/index/",array('pid'=>$pid));?>" class="mtCancel">Cancel</a>
              			<?php $this->endWidget();?>
              		</div>
              		<!-- End rightWrapper -->